using System;
using System.Collections.Generic;
using System.Text;
using PetShop.Domain.Model;
using PetShop.Infrastructure.Gateways;

namespace PetShop.Domain.Services
{
    public class CategoryServices
    {

        private readonly CategoryGateway _gateway;

        public CategoryServices()
        {
            _gateway = new CategoryGateway();
        }

     
        public Category GetCategoryByID(string categoryID)
        {
            if (string.IsNullOrEmpty(categoryID))
                return null;
            return _gateway.GetCategoryByID(categoryID);
        }

    }
}
